#!/bin/bash
now=$(date +"%Y%m%d_%H%M%S")

# modify these augments if you want to try other datasets, splits or methods
# dataset: ['acdc']
# method: ['unimatch', 'supervised']
# exp: just for specifying the 'save_path'
# split: ['1', '3', '7']
dataset='carotidartery'
method='unimatch'
exp='unet'

config=configs/$dataset.yaml
labeled_id_path=splits/$dataset/train.txt
unlabeled_id_path=splits/$dataset/unlabeled.txt
save_path=exp/$dataset/$method/$exp

mkdir -p $save_path

python $method.py \
    --config=$config --labeled_id_path $labeled_id_path --unlabeled_id_path $unlabeled_id_path \
    --save_path $save_path 2>&1 | tee $save_path/$now.log
